package com.epam.dao.intf;

import java.util.List;

import com.epam.dao.exception.TourNotAvailableException;
import com.epam.entity.AbstractEntity;

public interface DAO {
	
	
	public void insert(AbstractEntity entity) throws TourNotAvailableException;
	
	public AbstractEntity findByID(int id);
	
	public List<AbstractEntity> findAll();
	
	public List<AbstractEntity> findAllPaginated(int offset, int numberOfRecords);
	
	

}